import i18n from "@/lang/index";
const searchConfig = {
  pageName: "sys:user1",
  formItems: [
    {
      type: "input",
      label: "ID",
      prop: "id",
      attrs: {
        placeholder: "",
        clearable: true,
        style: {
          width: "200px",
        },
      },
    },
    {
      type: "input",
      label: i18n.global.t('search.21'),
      prop: "name",
      attrs: {
        placeholder: i18n.global.t('search.21'),
        clearable: true,
        style: {
          width: "200px",
        },
      },
    },
    {
      type: "input",
      label: i18n.global.t('search.22'),
      prop: "code",
      attrs: {
        placeholder: i18n.global.t('search.22'),
        clearable: true,
        style: {
          width: "200px",
        },
      },
    },
    {
      type: "select",
      label: i18n.global.t('search.23'),
      prop: "popular",
      attrs: {
        placeholder: i18n.global.t('status.3'),
        clearable: true,
        style: {
          width: "200px",
        },
      },
      options: [
        { label: i18n.global.t('status.1'), value: 1 },
        { label: i18n.global.t('status.2'), value: 0 },
      ],
    },
    {
      type: "select",
      label: i18n.global.t('search.15'),
      prop: "status",
      attrs: {
        placeholder: i18n.global.t('status.3'),
        clearable: true,
        style: {
          width: "200px",
        },
      },
      options: [
        { label: i18n.global.t('status.21'), value: 0 },
        { label: i18n.global.t('status.22'), value: 1 },
        { label: i18n.global.t('status.23'), value: 2 },
        { label: i18n.global.t('status.24'), value: 3 },
      ],
    },
    {
      type: "custom",
      label: i18n.global.t('search.24'),
      prop: "game_provider_id",
      attrs: {
        placeholder: i18n.global.t('status.3'),
        clearable: true,
        style: {
          width: "200px",
        },
      },
    },
    {
      type: "custom",
      label: i18n.global.t('search.26'),
      prop: "category_id",
      attrs: {
        placeholder: i18n.global.t('status.3'),
        clearable: true,
        style: {
          width: "200px",
        },
      },
    },
  ],
};

export default searchConfig;
